<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<% 
	String path = request.getContextPath();
	pageContext.setAttribute("path", path);
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css"
	href="${path}/js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="${path}/js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css"
	href="${path}/js/easyui/themes/bootstrap/easyui.css">
<script type="text/javascript" src="${path}/js/easyui/jquery.min.js"></script>
<script type="text/javascript" src="${path}/js/movieshow.js"></script> 
<script type="text/javascript"
	src="${path}/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${path}/js/easyui/locale/easyui-lang-zh_CN.js"></script> <!-- 国际化的这个包必须放在最后面 -->

<title>采集信息</title>

<script type="text/javascript">
	
</script>
</head>

<body>
	<table id="dg" class="easyui-datagrid" title="采集的电影信息"
		style="width:auto; height:40px" url="${path}/showAllMovie.do"
		toolbar="#toolbar"
		data-options="
				fit:true,
				fitColumns: false,
				rownumbers:true,
				singleSelect:true,
				autoRowHeight:false,
				pagination:true,
				pageSize:20">
		<thead>
			<tr>
				<th field="movie_name" width="10%">电影名</th>
				<th field="url" width="10%">链接</th>
				<th field="url_label" width="10%" align="10%">连接标签</th>
				<th field="url_content" width="40%" align="right">简介</th>
				<th field="get_time" width="10%" align="right">采集时间</th>
				<th field="site" width="10%">网站</th>
			</tr>
		</thead>
	</table>

	<div id="toolbar">

		电影名  <select id="c_name" class="easyui-combobox" name="dept" style="width:200px;"
		 data-options="valueField:'id' , textField:'movie_type',url:'${path}/getMovieType.do' "></select>
		开始时间 ：<input id="date_start" type="text" class="easyui-datetimebox" required="required" data-options=""/>
		结束时间： <input id="date_end" type="text" class="easyui-datetimebox" required="required"  data-options=""/>
		<a id="btn_search" href="#" class="easyui-linkbutton" onclick="search_clk()"  data-options="iconCls:'icon-search'">开始检索</a>
	</div>
<!--  	<div id="hideval" style="visibility: hidden;">
		<input id="h_c_name" />
		<input id="h_date_start" />
		<input id="h_date_end" /> -->
	</div>
	
	<div id="win" class="easyui-window" title="详细信息" style="width:600px;height:400px"
    data-options="modal:true,closed:true">
			<ul class="list-group">
			    <li class="list-group-item"><strong>电影名</strong> <p id="w_movie_name" class="text-left"></p>
			    </li>
			    <li class="list-group-item"><strong>连接</strong> <p id="w_url" class="text-left"></p>
			     </li>
			    <li class="list-group-item"><strong>链接标签 </strong>  <p id="w_url_label" class="text-left"></p>
			    </li>
			    <li class="list-group-item"><strong>简介</strong>   <p id="w_url_content" class="text-left"></p>
			    </li>
			    <li class="list-group-item"><strong>采集时间</strong>   <p id="w_get_time" class="text-left"></p>
			     </li>
			    <li class="list-group-item"><strong>采集网站</strong>   <p id="w_site" class="text-left"></p>
			    </li>
  			</ul>
		</div>
</body>
</html>